package com.wish.contract.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("contract-email")
public interface EmailFeign {
    @GetMapping("/email/send")
    void send(@RequestParam String subject, @RequestParam String from, @RequestParam String to, @RequestParam String context);
}
